package domain

import (
	"gitee.com/cjsn/topsdk/util"
)

type TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO struct {
	/*
	   额外属性     */
	Attributes *string `json:"attributes,omitempty" `

	/*
	   签到时间     */
	GmtSignIn *util.LocalTime `json:"gmt_sign_in,omitempty" `

	/*
	   使用次数     */
	UsedServiceCount *int64 `json:"used_service_count,omitempty" `

	/*
	   服务订单数据     */
	ServiceTradeOrder *TmallServicecenterWorkcardDesensitizationQueryServiceTradeOrder `json:"service_trade_order,omitempty" `

	/*
	   预约结束时间     */
	GmtReserveEnd *util.LocalTime `json:"gmt_reserve_end,omitempty" `

	/*
	   修改时间     */
	GmtModify *util.LocalTime `json:"gmt_modify,omitempty" `

	/*
	   工单服务总次数     */
	ServiceCount *int64 `json:"service_count,omitempty" `

	/*
	   取消时间     */
	GmtCancel *util.LocalTime `json:"gmt_cancel,omitempty" `

	/*
	   工单状态编码     */
	StatusCode *string `json:"status_code,omitempty" `

	/*
	   工单id     */
	Id *int64 `json:"id,omitempty" `

	/*
	   预约失败描述     */
	ReserveFailDesc *string `json:"reserve_fail_desc,omitempty" `

	/*
	   剩余次数     */
	LeftServiceCount *int64 `json:"left_service_count,omitempty" `

	/*
	   主订单号     */
	ParentBizOrderId *int64 `json:"parent_biz_order_id,omitempty" `

	/*
	   预约失败编码     */
	ReserveFailCode *int64 `json:"reserve_fail_code,omitempty" `

	/*
	   买家信息     */
	Buyer *TmallServicecenterWorkcardDesensitizationQueryBuyer `json:"buyer,omitempty" `

	/*
	   服务提供者     */
	ServiceProvider *TmallServicecenterWorkcardDesensitizationQueryServiceProvider `json:"service_provider,omitempty" `

	/*
	   服务履约类型     */
	FulfilTypeCode *string `json:"fulfil_type_code,omitempty" `

	/*
	   核销时间     */
	GmtIdentify *util.LocalTime `json:"gmt_identify,omitempty" `

	/*
	   创建时间     */
	GmtCreate *util.LocalTime `json:"gmt_create,omitempty" `

	/*
	   预约时间开始     */
	GmtReserveStart *util.LocalTime `json:"gmt_reserve_start,omitempty" `

	/*
	   实物订单信息     */
	MasterTradeOrder *TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder `json:"master_trade_order,omitempty" `

	/*
	   服务定义     */
	ServiceDefinition *TmallServicecenterWorkcardDesensitizationQueryServiceDefinition `json:"service_definition,omitempty" `

	/*
	   买家期望服务时间     */
	BuyerExpectDate *util.LocalTime `json:"buyer_expect_date,omitempty" `

	/*
	   费用信息     */
	FeeList *[]TmallServicecenterWorkcardDesensitizationQueryFeeInfo `json:"fee_list,omitempty" `

	/*
	   核销/工单完结请求中直接带回该字段     */
	Sequence *int64 `json:"sequence,omitempty" `

	/*
	   服务单id     */
	SpServiceOrderId *int64 `json:"sp_service_order_id,omitempty" `
}

func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetAttributes(v string) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.Attributes = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtSignIn(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtSignIn = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetUsedServiceCount(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.UsedServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetServiceTradeOrder(v TmallServicecenterWorkcardDesensitizationQueryServiceTradeOrder) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ServiceTradeOrder = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtReserveEnd(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtReserveEnd = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtModify(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtModify = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetServiceCount(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtCancel(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtCancel = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetStatusCode(v string) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.StatusCode = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetId(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.Id = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetReserveFailDesc(v string) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ReserveFailDesc = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetLeftServiceCount(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.LeftServiceCount = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetParentBizOrderId(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ParentBizOrderId = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetReserveFailCode(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ReserveFailCode = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetBuyer(v TmallServicecenterWorkcardDesensitizationQueryBuyer) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.Buyer = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetServiceProvider(v TmallServicecenterWorkcardDesensitizationQueryServiceProvider) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ServiceProvider = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetFulfilTypeCode(v string) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.FulfilTypeCode = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtIdentify(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtIdentify = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtCreate(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtCreate = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetGmtReserveStart(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.GmtReserveStart = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetMasterTradeOrder(v TmallServicecenterWorkcardDesensitizationQueryMasterTradeOrder) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.MasterTradeOrder = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetServiceDefinition(v TmallServicecenterWorkcardDesensitizationQueryServiceDefinition) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.ServiceDefinition = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetBuyerExpectDate(v util.LocalTime) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.BuyerExpectDate = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetFeeList(v []TmallServicecenterWorkcardDesensitizationQueryFeeInfo) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.FeeList = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetSequence(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.Sequence = &v
	return s
}
func (s *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO) SetSpServiceOrderId(v int64) *TmallServicecenterWorkcardDesensitizationQueryWorkcardDTO {
	s.SpServiceOrderId = &v
	return s
}
